package com.corgi.repeat.handler;

import com.corgi.repeat.annotation.Repeat;
import org.aspectj.lang.ProceedingJoinPoint;

/**
 * @title: RepeatAspectHandler
 * @description:
 * @author: dengmiao
 * @create: 2019-11-19 11:35
 **/
public interface CurrentRepeatAspectHandler {

    /**
     * 幂等拦截后的反馈
     * @param pjp
     * @param repeat
     * @return
     * @throws Throwable
     */
    Object around(ProceedingJoinPoint pjp, Repeat repeat)throws Throwable;
}
